feat(writes): auto-commit memory/note/glossary writes (refs #1) - #29
Merged
Conversation
Wire the remaining CLI write commands to the auto-commit helper: memory add (fact + note), edit-fact, delete-fact, note edit/delete, and glossary add/edit/delete. With this, every CLI command that mutates memory files makes one git commit when [writes].auto_commit is enabled — CLI-only, default off, each with a --no-commit escape hatch. Completes auto-commit command coverage; COW batch atomicity is the next slice.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Completes auto-commit command coverage for issue #1. Wires the remaining CLI write commands to the helper:
memory add(fact + note paths),memory edit-fact/delete-fact,note edit/delete,glossary add/edit/delete. Every CLI memory-mutating command now makes one git commit when[writes].auto_commitis enabled — CLI-only, default off,--no-commiton each. TDD: 5 new CLI wiring tests (correct op/target per command) on top of the helper's real-git suite + entity wiring tests (18 auto-commit tests total). ruff + mypy + bandit clean. Next: COW batch atomicity (issue #1 slice 2).